fold

inline fun <T> ClaimPathElement.fold(ifAllArrayElements: () -> T, ifArrayElement: (Int) -> T, ifClaim: (String) -> T): T(source)